package com.aaa.a1109.demo05;

/**
 * @author 荆豪峰
 * @version 1.0
 */
public class Test {
    public static void main(String[] args) {
        AAAPublic aaaPublic = new AAAPublic();
        User user1 = new User("张三");
        User user2 = new User("李四");
        User user3 = new User("王五");
        User user4 = new User("赵六");
        aaaPublic.guanzhu(user1);
        aaaPublic.guanzhu(user2);
        aaaPublic.guanzhu(user3);
        aaaPublic.guanzhu(user4);
        aaaPublic.guanzhu(new Teacher());
        aaaPublic.setMsg("hahaha");
        aaaPublic.qunfa();
        System.out.println("----------------");
        aaaPublic.quxiaokeu(user1);
        aaaPublic.qunfa();

    }
}
